<template>
  <div class="app">
    <transition>
      <keep-alive include="tab">
        <router-view></router-view>
      </keep-alive>
    </transition>
  </div>
</template>

<script>
export default {
  name: "App",
  data() {
    return {};
  },
  components: {},
  mounted() {
    this.$router.push("/home");
  }
};
</script>

<style lang="stylus" scoped>
.app {
  background-color #fefefe;
}
.v-enter {
  opacity: 0;
  transform: translateX(100%);
}

.v-leave-to {
  opacity: 0;
  transform: translateX(-100%);
  position: absolute;
}

.v-enter-active, .v-leave-active {
  transition: all 0.5s ease;
}
</style>
